package com.ipbd.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 呼吸记录表
 * @TableName breath_record
 */
@TableName(value ="breath_record")
@Data
public class BreathRecord implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;


    /**
     * 治疗阶段
     */
    private Integer stage;

    /**
     * 练习时间
     */
    private Date trainTime;

    /**
     * 练习前焦虑值
     */
    private Integer beginAnxiety;

    /**
     * 练习前不开心值
     */
    private Integer beginUnhappy;

    /**
     * 练习后焦虑值
     */
    private Integer endAnxiety;

    /**
     * 练习后不开心值
     */
    private Integer endUnhappy;

    /**
     * 备注
     */
    private String text;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}